package li.kaeppe.travel.tracker.service;

import java.util.List;

import li.kaeppe.travel.tracker.domain.Trip;
import li.kaeppe.travel.tracker.domain.WayPoint;

public interface TripService {
	
	public Trip storeTrip(Trip trip);
	
	public List<Trip> getAllTrips();
	
	public Trip getTripById(long id);
	
	public Trip getTripByKey(String key);
	
	public List<WayPoint> getWayPoints(long tripId);
	
	public List<WayPoint> getPagedWayPoints(String tripKey, int page, int level);
	
	public WayPoint getWayPointById(long wayPointId);
	
}
